AmpProject\AmpWP\DevTools\BlockSources S

Total Complexity 21
Dependencies 3
Dependents 0
Total lines 146
Lines of code 55
Logical lines of code 30
Comment lines 61
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
capture_block_type_source()
S
54 6 20
is_needed()
S
68 6 6
register()
S
64 2 9
set_block_sources_from_cache()
S
74 2 4
get_block_sources()
S
72 2 6
__construct()
S
77 1 4
cache_block_sources()
S
79 1 3
clear_block_sources_cache()
S
80 1 3